package cn.yunhe.service.impl;

import cn.yunhe.beans.User;
import cn.yunhe.dao.IUserDao;
import cn.yunhe.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Juni
 * @date 2021/1/21
 *
 */
@Service
public class UserServiceImpl implements IUserService {

    @Autowired
    IUserDao userDao;

    public List<User> querUsers() {
        return userDao.queryUsers();
    }
}
